package com.caishi.lkx.exam.model.re;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.zzw.common.entity.impl.BSIntEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: Janisa
 * @date: 2022/3/17 11:24
 * @description: 栏目配置关系实体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "ex_chapter_paper_generate", autoResultMap = true)
public class ExChapterPaperGenerateModel extends BSIntEntity<ExChapterPaperGenerateModel> {

    private Long categoryId;
    @TableField(value = "chapter_ids", typeHandler = JacksonTypeHandler.class)
    private List<String> chapterIds;
    @TableField(value = "paper_ids", typeHandler = JacksonTypeHandler.class)
    private List<String> paperIds;

}
